package com.eg.egent.example;

import com.alibaba.fastjson.JSONObject;
import com.eg.egent.example.common.Constants;
import com.eg.egent.example.common.ApiUtil;

/**
 * @Description: 解挂单门点单门卡权限示例程序
 * @author liangjiange
 * @date 2016年10月11日 上午11:42:19
 */
public class PopedomCardHangingSolutionsExample {

	private static Integer encrypt = Constants.ENCRYPT_NO;

	private static Integer signMethod = Constants.SIGN_METHOD_HMAC;
	
	private static String taskDesc = "解挂单门点单门卡权限";

	public static void main(String[] args) {

		JSONObject mainContent = new JSONObject();
		mainContent.put("method", "popedom.ocod.hanging.solutions");
		mainContent.put("main_control_mac", "08:16:00:00:09:18");
		mainContent.put("comm_code", 100);
		mainContent.put("card_number", 459540545);
		
		ApiUtil.excute(encrypt, signMethod, taskDesc, mainContent);

	}

}
